package com.mantou.cdl.net;

public class HttpResult {

	public int statusCode;
	public String location;
	
	public HttpResult(int statusCode, String location, byte[] responseBody) {
		super();
		this.statusCode = statusCode;
		this.location = location;
		this.responseBody = responseBody;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public byte[] responseBody;

	
	public HttpResult(int statusCode) {
		super();
		this.statusCode = statusCode;
	}

	public HttpResult(int statusCode, byte[] responseBody) {
		super();
		this.statusCode = statusCode;
		this.responseBody = responseBody;
	}

	public int getStatusCode() {
		return statusCode;
	}

	public void setStatusCode(int statusCode) {
		this.statusCode = statusCode;
	}

	public byte[] getResponseBody() {
		return responseBody;
	}

	public void setResponseBody(byte[] responseBody) {
		this.responseBody = responseBody;
	}
	
	
}
